package edu.wtbu.dao;

import java.util.HashMap;
import java.util.List;


public interface ScheduleDao {

//	/updateSchedule?scheduleId=1&status=Canceled
	public int updateSchedule(HashMap<String,Object> map);
	public List<HashMap<String,Object>> findByScheduleId(int scheduleId);
	
	List<HashMap<String,Object>> getFlightStatus(HashMap<String,Object> map);
	int getFlightStatusCount(HashMap<String,Object> map);
	
	List<HashMap<String,Object>> findScheduleByCityAndDate(HashMap<String,Object> map);
	
	List<HashMap<String,Object>> getScheduleDetail(Integer scheduleId);
	List<HashMap<String,Object>> ticketInfoList(Integer scheduleId);
	List<HashMap<String,Object>> selectedSeatList(Integer scheduleId);
	List<HashMap<String,Object>> seatLayoutList(Integer aircraftId);
	
	List<HashMap<String,Object>> findNonStopScheduleList(HashMap<String,Object> map);
	int findSoldTicketsCount(HashMap<String,Object> map);
	List<HashMap<String,Object>> findOneStopScheduleList(HashMap<String,Object> map);
	List<HashMap<String,Object>> findDelayInfoList(HashMap<String,Object> map);
}
